import java.util.Scanner;

/*
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        System.out.print("请输入一个想要判断生肖的年数：");
        int i = sc.nextInt();
        switch(i % 12){
            case 0:
                System.out.println(i+"为猴年");
                break;
            case 1:
                System.out.println(i+"为鸡年");
                break;
            case 2:
                System.out.println(i+"为狗年");
                break;
            case 3:
                System.out.println(i+"为猪年");
                break;
            case 4:
                System.out.println(i+"为鼠年");
                break;
            case 5:
                System.out.println(i+"为牛年");
                break;
            case 6:
                System.out.println(i+"为虎年");
                break;
            case 7:
                System.out.println(i+"为兔年");
                break;
            case 8:
                System.out.println(i+"为龙年");
                break;
            case 9:
                System.out.println(i+"为蛇年");
                break;
            case 10:
                System.out.println(i+"为马年");
                break;
            case 11:
                System.out.println(i+"为羊年");
                break;
            default:
                break;
        }
    }
}

 */


//摄氏度转华氏度
public class Main{
    public static void main(String[] args){
        int i = -40;
        do{
            i += 10;
            double f = i * 9.0 / 5 + 32;
            System.out.println(f);
        }while(i<50);
    }
}